/**
 * 
 */
var AdminDiscountController=function($http,$scope,$log){
	$http.get("../discount/list").success(function(response){
		if(response.object.length==0){
			sweetAlert("无数据");
			return;
		}
		$scope.discounts=response.object;
	});
}
